package com.dd.common.util

import android.text.TextUtils

object PhoneUtil {
    /**
     * DeviceId 使用ali push获取
     * @return
     */
    fun getDeviceId(): String? {
        var deviceId: String? = null
        try {
            //deviceId = PushServiceFactory.getCloudPushService().getDeviceId()
        } catch (ignore: Exception) {
        }
        if (TextUtils.isEmpty(deviceId)) {
            deviceId = ""
        }
        return deviceId
    }
}